xen: fix building !CONFIG_LOCK_PROFILE
authorWei Liu <wei.liu2@citrix.com>
Fri, 17 Aug 2018 15:12:19 +0000 (16:12 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 21 Aug 2018 13:55:35 +0000 (14:55 +0100)
commit1fe5e617d41f9ba05f7d53f6f34e433bf41e0d43
tree6f692a71284ba66e8ccf5c1b5ae0cf84a6eb4a7c
parentf34690a962ea71367bc5788cc9af9c9fab2cafa0
xen: fix building !CONFIG_LOCK_PROFILE

The init function shouldn't be built or called at all when
!CONFIG_LOCK_PROFILE.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/spinlock.c